package com.foruo.learn.designmode.template;

public class TestMe {

    public static void main(String[] args){
        // 男人吃饭
        AbstractEat eat = new ManEat();
        eat.eat();
        // 女人吃饭
        eat = new WomanEat();
        eat.eat();
    }
}
